<template>
	<view class="padlr24">
		<orderSuccessAppointment v-if="status == 1" ref="successOrder"></orderSuccessAppointment>
		<orderDelivery v-if="status == 2"></orderDelivery>
		<orderHaveArrived v-if="status == 3" ref="orderHaveArrivedRef"></orderHaveArrived>
	</view>
</template>

<script>
	// 订单预约成功
	import orderSuccessAppointment from "./components/orderSuccessAppointment.vue"
	// 订单配送中
	import orderDelivery from "./components/orderDelivery.vue"
	// 订单已到达
	import orderHaveArrived from "./components/orderHaveArrived.vue"
	export default {
		components: {
			orderSuccessAppointment,
			orderDelivery,
			orderHaveArrived
		},
		data() {
			return {
				status: 3,
			}
		},
		onLoad() {
			
		},
		methods: {
			
		}
	}
</script>

<style lang="scss" scoped>
</style>
<style>
	page {
		background: #F5F5F5;
	}
</style>
